package task5;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * 扑克牌类
 */
public class Poker {
    // 花色
    private List<CardSuit> cardSuit = new ArrayList<>();
    // 数字
    private String[] number = {"A","2","3","4","5","6","7","8","9","10","J","Q","K"};
    // 大王、小王
    private List<Joker> joker = new ArrayList<>();
    // 总扑克牌张数
    private List<String> pokers = new ArrayList<>();

    public Poker() {
        // 添加花色
        this.getCardSuit().add(CardSuit.HEART);
        this.getCardSuit().add(CardSuit.SPADE);
        this.getCardSuit().add(CardSuit.CLUB);
        this.getCardSuit().add(CardSuit.DIAMOND);
        // 添加大小王
        this.getJoker().add(Joker.LITTLE);
        this.getJoker().add(Joker.BIG);

        this.setCardSuit(cardSuit);
        this.setNumber(number);
        this.setJoker(joker);
    }

    public List<CardSuit> getCardSuit() {
        return cardSuit;
    }

    public void setCardSuit(List<CardSuit> cardSuit) {
        this.cardSuit = cardSuit;
    }

    public String[] getNumber() {
        return number;
    }

    public void setNumber(String[] number) {
        this.number = number;
    }

    public List<Joker> getJoker() {
        return joker;
    }

    public void setJoker(List<Joker> joker) {
        this.joker = joker;
    }

    public List<String> getPokers() {
        return pokers;
    }

    public void setPokers(List<String> pokers) {
        this.pokers = pokers;
    }

}
